/**
 * 选择用户
 * @param selectType input类型 radio checkbox
 * @param subjectIds 专业ids
 */
function selectUser(selectType, subjectIds) {
    parent.layer.open({
        type: 2,
        area: winArea,
        btn: ['选择', '取消'],
        content: baseloaction + "/admin/user/cus/selectUserList?selectType=" + selectType + '&subjectIds=' + subjectIds,
        maxmin: true,
        shade: [0.3, '#000'],
        shadeClose: false,
        title: '选择用户',
        yes: function (index, layero) {
            var _iframe = layero.find("iframe:visible");
            var iframeName = _iframe[0].name;
            var user = parent.frames[iframeName].getSelectUser();
            if (user) {
                var currentIframeName = contentMainIframeName();
                parent.frames[currentIframeName].selectUserCallback(user);
                parent.layer.close(index);
            }
        }
    });
}